#include "id.h"

Id::Id(std::string name,Type* type) :name(name),type(type) {}

int Id::getOffset(void) const {
	return offset;
}


Type* Id::getType(void) const {
	return type;
}

std::string Id::getName(void) const {
	return name;
}

void Id::setOffset(int of) {
	offset=of;
}
